Skip to content

Config options update#2199

Merged
nicolaskruchten merged 13 commits into
doc-prodfrom
config-optoins-update
Apr 6, 2020
Merged

Config options update#2199
nicolaskruchten merged 13 commits into
doc-prodfrom
config-optoins-update

Conversation

@jdamiba

@jdamiba jdamiba commented Feb 14, 2020

Copy link
Copy Markdown

The purpose of this PR is twofold:

@jdamiba jdamiba changed the base branch from master to doc-prod February 14, 2020 20:11
@jdamiba jdamiba requested a review from emmanuelle February 14, 2020 20:12
Joseph Damiba and others added 2 commits February 14, 2020 15:13
Comment thread doc/python/configuration-options.md Outdated
Comment thread doc/python/configuration-options.md Outdated
Comment thread doc/python/configuration-options.md Outdated
fig.show(config=config)
```

### Display The `Edit In Chart Studio` Modebar Button

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not clear to me how this is different from the previous example?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screen Shot 2020-02-17 at 11 40 56 AM

This example has a button in the modebar rather than the hyperlink in the bottom right of the figure.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, maybe add a sentence here and above, and/or have the two examples in the same section?

Comment thread doc/python/configuration-options.md Outdated
fig.show(config=config)
```

##### Making A Responsive Chart

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one would deserve more explanations I think: define responsiveness, and comment on figure behaviour when it's responsive. For example when I tried this config parameter does not make a figure responsive (resized when winodw is resized) in a Jupyter notebook, but in a Dash app the figure is responsive by default?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at this example, I think it actually makes more sense to make it about how to disable the default responsive behavior that figures have.

I'm surprised figures aren't responsive in your Jupyter notebook- they are in mine 🤔

Comment thread doc/python/configuration-options.md Outdated
Comment thread doc/python/configuration-options.md Outdated
Comment thread doc/python/configuration-options.md Outdated
@emmanuelle

Copy link
Copy Markdown
Contributor

Thank you @jdamiba this is a very useful addition! I left some minor comments.

Joseph Damiba and others added 6 commits February 17, 2020 11:35
Co-Authored-By: Emmanuelle Gouillart <emma@plot.ly>
Co-Authored-By: Emmanuelle Gouillart <emma@plot.ly>
Co-Authored-By: Emmanuelle Gouillart <emma@plot.ly>
Co-Authored-By: Emmanuelle Gouillart <emma@plot.ly>
Comment thread binder/requirements.txt Outdated
datashader
pyarrow
dash_core_components
dash_html_components

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh and dash as well :-)

Comment thread doc/requirements.txt Outdated
datashader
pyarrow
dash_core_components
dash_html_components

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and dash

@jdamiba

jdamiba commented Feb 19, 2020

Copy link
Copy Markdown
Author

@nicolaskruchten Can you please take another look at this? I reverted the style issues we are talked about in our meeting earlier this week.

@emmanuelle

Copy link
Copy Markdown
Contributor

@nicolaskruchten would you like me to take hover reviewing this PR? It would be great to merge it.

Comment thread doc/python/configuration-options.md
@nicolaskruchten

Copy link
Copy Markdown
Contributor

@emmanuelle yes please :)

@emmanuelle

Copy link
Copy Markdown
Contributor

Thank you @jdamiba ! This looks good to me 💃. For the "what about Dash" paragraph, is there a way to remove it since you already mention Dash? This can be done later anyway.

@emmanuelle

Copy link
Copy Markdown
Contributor

I fixed a merge conflict BTW.

@nicolaskruchten nicolaskruchten merged commit 4368a59 into doc-prod Apr 6, 2020
@nicolaskruchten nicolaskruchten deleted the config-optoins-update branch June 19, 2020 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants